<include file="Public/header" />
<title>管理员列表</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 出库管理 <span class="c-gray en">&gt;</span> 出库管理 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20" style="margin-top:-20px;">
	<div class="cl pd-5 bg-1 bk-gray mt-20"> 
		
			<input class="input-text" style="width:200px;float:left;margin:0 5px 0 0;" type="text" value="<{$_GET['mailNo']}>" placeholder="物流单号" name="mailNo">
			<button type="button" id="outbound" class="btn btn-success" style="float:left;margin-right:15px;"><i class="icon-plus"></i> 出库</button>
			<form class="formleft" name="" id="" action="__URL__/pushorderlist/" method="get">
			<input class="input-text" style="width:200px;float:left;margin:0 5px 0 0;" type="text" value="<{$_GET['order_no']}>" placeholder="订单编号" name="order_no">
			<input class="input-text" style="width:200px;float:left;margin:0 5px 0 0;" type="text" value="<{$_GET['user_name']}>" placeholder="客户姓名" name="user_name">
			<input class="input-text" style="width:200px;float:left;margin:0 5px 0 0;" type="text" value="<{$_GET['user_phone']}>" placeholder="联系电话" name="user_phone">

			<button type="submit" class="btn btn-success"><i class="icon-plus"></i> 查询</button>
		</form>
		<span class="r">共有数据：<strong><{$count}></strong> 条</span> 
    </div>
	
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th scope="col" colspan="15">订单列表</th>
			</tr>
			<tr class="text-c">
				
				<th>序号</th>
				<th width="">订单编号</th>
				<th width="">运单号</th>
				<th width="">收件人姓名</th>
				<th width="">身份证号</th>
				<th width="">收件人电话</th>
				<th width="">收件人地址</th>
				<!-- <th width="">状态</th> -->
				<!-- <th width="">推送时间</th> -->
			</tr>
		</thead>
		<tbody>
			<volist name="list" id="vo">
			<tr class="text-c">
				
				<td><{$i}></td>
				<td><{$vo.order_no}></td>
				<td><{$vo.logistics_no}></td>
				<td><{$vo.user_name}></td>
				<td><{$vo.user_idcard}></td>
				<td><{$vo.user_phone}></td>
				<td><{$vo.province}><{$vo.city}><{$vo.area}><{$vo.user_address}></td>
				<!-- <td> -->
				<!-- <if condition="$vo.flag eq 1"> -->
					<!-- <img src="__PUBLIC__/img/flag/flag_green.png"> -->
				<!-- </if> -->
				<!-- <if condition="$vo.flag eq 2"> -->
					<!-- <img src="__PUBLIC__/img/flag/flag_yellow.png"> -->
				<!-- </if> -->
				<!-- <if condition="$vo.flag eq 3"> -->
					<!-- <img src="__PUBLIC__/img/flag/flag_red.png"> -->
				<!-- </if> -->
				<!-- </td> -->
				<!-- <td><{$vo.add_time|date="Y-m-d",###}></td> -->
			</tr>
			</volist>			
		</tbody>
	</table>
	<div class="page mt" style="text-align:right"><{$page}></div>
</div>
<script type="text/javascript">
    $(function(){
		//回车
		$("input[name=mailNo]").keydown(function (e) {
		    if (e.keyCode == 13) {
		       $('#outbound').click();
		    }
		});
        $("#outbound").click(function(){
			var mailNo = $("input[name=mailNo]").val();
			$.ajax({
                type: 'POST',
                data:{mailNo:mailNo},
                url: "<{:U('outbound_order2')}>",
                success:function(data){
					if(!data.status){
						layer.msg(data.message);
					}else{
						parent.window.location.href =parent.window.location.href;
					}
                }
            })
        });
    })
</script>
 <include file="Public/footer" />
<include file="Public/footer_js" />
</body>
</html>